package com.moba.emums;

/** 语言类型 * */
public enum BaseDataId {
  BaseDataId_80("注册矿源", 80),
  BaseDataId_90("算力范围", 90),
  BaseDataId_600("提现手续费", 600),
  BaseDataId_601("转账手续费", 601);

  public static String getName(int index) {
    for (BaseDataId c : BaseDataId.values()) {
      if (c.getIndex() == index) {
        return c.name;
      }
    }
    return null;
  }

  private BaseDataId(String name, int index) {
    this.name = name;
    this.index = index;
  }

  private String name;

  private int index;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getIndex() {
    return index;
  }

  public void setIndex(int index) {
    this.index = index;
  }
}
